package com.peopledelete.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
@author cyt
@create 2020-04-26 17:59
*/

@Accessors(chain = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "dayrecords")
public class Dayrecords {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "date")
    private Date date;

    @TableField(value = "am_one")
    private Integer amOne;

    @TableField(value = "am_two")
    private Integer amTwo;

    @TableField(value = "pm_one")
    private Integer pmOne;

    @TableField(value = "pm_two")
    private Integer pmTwo;

    @TableField(value = "night")
    private Integer night;

    @TableField(value = "total")
    private Integer total;

    @TableField(value = "weather")
    private Double weather;

    @TableField(value = "act")
    private Double act;

    @TableField(value = "temp")
    private Double temp;

    @TableField(value = "festival")
    private Double festival;

    public static final String COL_ACT = "act";

    public static final String COL_TEMP = "temp";

    public static final String COL_WEATHER = "weather";

    public static final String COL_FESTIVAL = "festival";


    public static final String COL_ID = "id";

    public static final String COL_DATE = "date";

    public static final String COL_AM_ONE = "am_one";

    public static final String COL_AM_TWO = "am_two";

    public static final String COL_PM_ONE = "pm_one";

    public static final String COL_PM_TWO = "pm_two";

    public static final String COL_NIGHT = "night";

    public static final String COL_TOTAL = "total";
}